package com.du.dumall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.du.dumall.common.utils.PageUtils;
import com.du.dumall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author dupeng
 * @email 13576245006@163.com
 * @date 2021-12-20 17:10:04
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetails(CategoryBrandRelationEntity categoryBrandRelation)
            ;


    void updateName(Long brandId, String name);

    void updateCascade(Long catId, String name);

    List<CategoryBrandRelationEntity> brandsList(Long catId);
}

